fix: refresh version cache after setup.sh completes#551
Conversation
setup.sh deploys the VERSION file but never refreshes the session greeting cache. This causes stale version reporting when running setup.sh directly (without aidevops update). Now runs the update check script at the end of setup to sync the cached version.
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
WalkthroughThe change adds version cache refresh logic to setup.sh by invoking aidevops-update-check.sh at two strategic points: after disabling on-demand MCPs and before final usage output, both conditionally executing only if the helper script exists. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🔍 Code Quality Report�[0;35m[MONITOR]�[0m Code Review Monitoring Report �[0;34m[INFO]�[0m Latest Quality Status: �[0;34m[INFO]�[0m Recent monitoring activity: 📈 Current Quality Metrics
Generated on: Sun Feb 8 02:51:02 UTC 2026 Generated by AI DevOps Framework Code Review Monitoring |
|



Summary
setup.shdeploys the VERSION file to~/.aidevops/agents/VERSIONbut never refreshes the session greeting cache (~/.aidevops/cache/session-greeting.txt)setup.shdirectly (e.g. after a manualgit pull) without going throughaidevops updateaidevops-update-check.shat the end of setup to sync the cached versionTesting
./setup.shdirectly (not viaaidevops update)~/.aidevops/cache/session-greeting.txtshows correct versionSummary by CodeRabbit